<?php

class Catalogue_Table_Category_Attribute extends Workset_Db_Table {

	protected $_name = 't_category2attr';

    protected $_primary = array('attr_id', 'category_id');

    protected $_referenceMap = array(
        'category' => array(
            'columns' 		=> 'category_id',
            'refTableClass' => 'Catalogue_Table_Category',
            'refColumns' 	=> 'id'
        ),
        'attribute' => array(
            'columns' 		=> 'attr_id',
            'refTableClass' => 'Catalogue_Table_Attribute',
            'refColumns' 	=> 'id'
        ),
    );

}

?>